import { axios } from '@/utils/request'

/**
 * 负数流水管理分页查询
 * @param data
 * @returns {AxiosPromise}
 */
export function queryForPage(data) {
    return axios({
        url: "/vatoutinv/negativestream/queryForPage",
        method:'post' ,
        data
    })
}
/**
 * 负数流水管理关注
 * @param data
 * @returns {AxiosPromise}
 */
export function focusNegativeStream(id) {
    return axios({
        url: "/vatoutinv/negativestream/focus?id="+id,
        method:'post' ,
    })
}
/**
 * 负数流水管理释放流水
 * @param data
 * @returns {AxiosPromise}
 */
export function releaseNegativeStream(data) {
    return axios({
        url: "/vatoutinv/negativestream/release",
        method:'post' ,
        data
    })
}
/**
 * 根据rdid 查询流水信息
 * @param data
 * @returns {AxiosPromise}
 */
export function queryByRdid(rdid) {
    return axios({
        url: "/vatoutinv/negativestream/queryByRdid?rdid="+rdid,
        method:'post' ,
    })
}
/**
 * 负数流水管理查看
 * @param data
 * @returns {AxiosPromise}
 */
export function queryForView(data) {
    return axios({
        url: "/vatoutinv/negativestream/view",
        method:'post' ,
        data
    })
}

/**
 * 负数流水管理处理
 * @param data
 * @returns {AxiosPromise}
 */
export function toDeal(data) {
    return axios({
        url: "/vatoutinv/negativestream/deal",
        method:'post' ,
        data
    })
}

/**
 * 负数流水管理合并拆分查询
 * @param data
 * @returns {AxiosPromise}
 */
export function combineLockQuery(data) {
    return axios({
        url: "/vatoutinv/negativestream/combineLockQuery",
        method:'post' ,
        data
    })
}


/**
 * 负数流水管理合并流水确定按钮
 * @param data
 * @returns {AxiosPromise}
 */
export function combineLockConfirm(data) {
    return axios({
        url: "/vatoutinv/negativestream/combineLockConfirm",
        method:'post' ,
        data
    })
}
